tools/misc: rework Makefile
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 6 Dec 2021 17:02:15 +0000 (17:02 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Dec 2021 20:27:13 +0000 (20:27 +0000)
commit41da0c21eea3ac5cb67d5b0ed4f52fbadab51f19
tree3dbc2fb3e84a3a62c17af24d12aba5761dd165ec
parent2400a9a365c5619dbf557afccdd45d2a2e4e3ade
tools/misc: rework Makefile

Add missing "xen-detect" rule. It only works without it because we
still have make's built-ins rules and variables, but fix this to not
have to rely on them.

Rename $(TARGETS_BUILD) to $(TARGETS).

Remove the unused "build" target.

Also, they are no more "build-only" targets, remove the extra code.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/misc/Makefile